package com.longxi.gamer_base.model;

/**
 * Created by cxw on & 2018/11/8
 */
public class User {
    public String id;
    public String iptype;//登录用户所使用的ip类型
    public String userid;//登录用户内部编码
    public String username;//用户姓名
    public String phone;//用户登记电话
    public String sex;//用户性别
    public String birth;//用户生日 例：1990-01-01
    public String head;//用户头像
    public String buildid;//用户所属小区
    public String build;//用户所属小区
    public String deptid;//用户所属部门
    public String dept;//用户所属部门

    /**
     * 登录
     */
    public static class UserLoginParam{
        public String account;
        public String password;
        public String cMacId;

        public UserLoginParam(String account, String password, String cMacId) {
            this.account = account;
            this.password = password;
            this.cMacId = cMacId;
        }

        public UserLoginParam() {
            this.cMacId = "";
        }
    }

    /**
     * 报修区域
     */
    public static class AccountInfo{
        private String corpId;
        private String roleCode;
        private String roleName;
        private String corpName;
        private String isAdmin;
        private String userName;
        private String roleType;
        private int userId;
        private String haiNaId;

        public void setHaiNaId(String haiNaId) {
            this.haiNaId = haiNaId;
        }

        public String getHaiNaId() {
            return haiNaId;
        }

        public String getCorpId() {
            return corpId;
        }

        public void setCorpId(String corpId) {
            this.corpId = corpId;
        }

        public String getRoleCode() {
            return roleCode;
        }

        public void setRoleCode(String roleCode) {
            this.roleCode = roleCode;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public String getCorpName() {
            return corpName;
        }

        public void setCorpName(String corpName) {
            this.corpName = corpName;
        }

        public String getIsAdmin() {
            return isAdmin;
        }

        public void setIsAdmin(String isAdmin) {
            this.isAdmin = isAdmin;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getRoleType() {
            return roleType;
        }

        public void setRoleType(String roleType) {
            this.roleType = roleType;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
